package com.sailing.xjpb.ipaas.client.entity.dto;

import com.sailing.xjpb.common.sercurity.SailingUserCurrentInfo;
import lombok.*;

import java.util.List;

/**
 * 从sso-client-0.0.1-SNAPSHOT.jar反编译的源码 当前用户信息-包含登录的组织和系统
 *
 * @author YW
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SipUserCurrentInfoDTO implements SailingUserCurrentInfo {

    /**
     *
     */
    private static final long serialVersionUID = 1L;
    /**
     * user1
     */
    private String usercname;
    /**
     * 2c919988707623e00170c5a78da500ac
     */
    private String accountId;
    /**
     * 上海熙菱
     */
    private String orgName;
    /**
     * 11111111111
     */
    private String mobilePhone;
    /**
     * 0001
     */
    private String orgCode;
    /**
     * 2c919988707623e00170c5a78da500ab
     */
    private String userid;
    /**
     * 2c919988707623e00170b21b950c0018
     */
    private String orgId;
    /**
     * admin
     */
    private String userLoginType;
    /**
     * 1
     */
    private String status;
    /**
     * user1
     */
    private String username;

    /**
     * 租户code
     */
    private String tenantCode;

    /**
     * userCode
     */
    private String userCode;

    /**
     * 过期时间
     */
    private String expiryDate;

    /**
     * 租户过期时间
     */
    private String tenantExpireTime;

    /**
     * 租户Id
     */
    private String tenantId;

    /**
     * 角色
     */
    private List<SipUserCurrentInfoRoleDTO> roles;

    /**
     * 组织
     */
    private List<SipUserCurrentInfoOrgDTO> orgs;

}
